/**
 * Created by chesw on 2017/5/19.
 */
(function () {
    new Vue({
        el: '#latest-news',
        components: {
            'clinic-head': clinicHead,
            'clinic-right': clinicRight,
            'clinic-foot': clinicFoot,
            'clinic-page': clinicPage,
            'search': search,
            'graphic-list-frame': graphicListFrame
        },
        data: {
            tab_id: 1
        },
        mounted: function () {
            showHtml();
        },
        methods: {
            changeTab: function (p_type) {
                this.tab_id = p_type;
            }
        }
    })
})()